home *** CD-ROM | disk | FTP | other *** search
GW-BASIC | 1997-02-02 | 2.0 KB | 64 lines |
- 10 'LPTSETUP - 13 AUG 92 rev. 02 FEB 97
- 20 IF EX$=""THEN EX$="EXIT"
- 30 COMMON EX$
- 40 CLS:COLOR 7,0,1
- 50 TB=7 'tab for text
- 60 PRINT
- 70 PRINT TAB(TB);
- 80 PRINT "Hard copies of HAMCALC screen displays look best when the printer"
- 90 PRINT TAB(TB);
- 100 PRINT "pitch is set at 12 characters per inch (ELITE type style)."
- 110 PRINT
- 120 PRINT TAB(TB);
- 130 PRINT "Hard copy printouts are made by scanning the screen for ASCII"
- 140 PRINT TAB(TB);
- 150 PRINT "characters and sending each character or space one-at-a-time to the"
- 160 PRINT TAB(TB);
- 170 PRINT "printer. No special buffers or drivers are required."
- 180 PRINT
- 190 PRINT TAB(TB);
- 200 PRINT "YOUR COMPUTER/PRINTER CONFIGURATION MUST SUPPORT STANDARD ASCII"
- 210 PRINT TAB(TB);
- 220 PRINT "CHARACTERS 128-254! If you are using WINDOWS 95, it may be necessary"
- 230 PRINT TAB(TB);
- 240 PRINT "to re-start the computer directly in MS-DOS mode to prevent WINDOWS"
- 250 PRINT TAB(TB);
- 260 PRINT "from changing certain standard ASCII characters to other icons."
- 270 PRINT
- 280 PRINT TAB(TB);
- 290 PRINT "The message below appears at the bottom of the screen whenever"
- 300 PRINT TAB(TB);
- 310 PRINT "appropriate. If you press <1> the message disappears and the printer"
- 320 PRINT TAB(TB);
- 330 PRINT "prints what remains on the screen. If you press <2> the same thing"
- 340 PRINT TAB(TB);
- 350 PRINT "happens and the paper advances to the next sheet (in printer jargon"
- 360 PRINT TAB(TB);
- 370 PRINT "this is called ";CHR$(34);"Form Feed";CHR$(34);"). In either case ";
- 380 PRINT "the message bar re-appears"
- 390 PRINT TAB(TB);
- 400 PRINT "and you can either print more copies of the screen or press <3> to"
- 410 PRINT TAB(TB);
- 420 PRINT "continue with the program."
- 430 PRINT
- 440 PRINT TAB(TB);
- 450 PRINT "If your equipment does not respond to the message bars the PRINT"
- 460 PRINT TAB(TB);
- 470 PRINT "SCREEN key on your keyboard should print the contents of the screen."
- 480 GOSUB 510:CLS:RUN EX$
- 490 END
- 500 '
- 510 'HARDCOPY
- 520 GOSUB 630:LOCATE 25,2:COLOR 14,6
- 530 PRINT " Press 1 to print screen, 2 to print screen & ";
- 540 PRINT "advance paper, or 3 to continue.";:COLOR 7,0
- 550 Z$=INKEY$:IF Z$="3"THEN GOSUB 630:RETURN
- 560 IF Z$="1"OR Z$="2"THEN GOSUB 630:GOTO 580
- 570 GOTO 550
- 580 FOR QX=1 TO 24:FOR QY=1 TO 80
- 590 LPRINT CHR$(SCREEN(QX,QY));
- 600 NEXT QY:NEXT QX
- 610 IF Z$="2"THEN LPRINT CHR$(12)
- 620 GOTO 520
- 630 LOCATE 25,1:PRINT STRING$(80,32);:RETURN
-